<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>实体店管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    #parse('/headFiles.html')
</head>
<body>
<div class="layui-fluid">
    <div class="layui-card layui-form">
        <input type="hidden" name="id" value="$!{id}"/>
        <div class="layui-card-header">
            <div style="float: right;">
                <button class="layui-btn layui-btn-sm LAY-btn-fun" data-type="updatePlace">修改网点</button>
                <button class="layui-btn layui-btn-sm LAY-btn-fun" data-type="mailAddress">邮件地址</button>
            </div>
        </div>
        <div class="layui-card-body" style="height:auto;padding-bottom:10px;">
            <div class="layui-row">
                <div class="layui-col-sm3" style="text-align: center;">
                    #if($thumbnailImg)
                    <img src="$!{resDomain}$!{thumbnailImg}" style="width:200px;margin:auto;">
                    #else
                    <img src="$!{webRoot}/layuiadmin/style/res/default01.png" style="width:200px;margin:auto;">
                    #end
                </div>
                <div class="layui-col-sm9">
                    <div class="layui-row">
                        <div class="layui-col-sm8">
                            <div class="layui-form-item">
                                <label class="layui-form-label">实体店名称:</label>
                                <div class="layui-input-block">
                                    <div class="layui-form-mid">$!{name}</div>
                                </div>
                            </div>
                        </div>
                        <div class="layui-col-sm4">
                            <div class="layui-form-item">
                                <label class="layui-form-label">状态:</label>
                                <div class="layui-input-block">
                                    <div class="layui-form-mid">$!{stateName}</div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-row">
                        <div class="layui-col-sm6">
                            <div class="layui-form-item">
                                <label class="layui-form-label">实体店类型:</label>
                                <div class="layui-input-block">
                                    <div class="layui-form-mid">$!{typeNames}</div>
                                </div>
                            </div>
                        </div>
                        <div class="layui-col-sm4">
                            <div class="layui-form-item">
                                <label class="layui-form-label">营业时间:</label>
                                <div class="layui-input-block">
                                    <div class="layui-form-mid">$!{openTime}-$!{closeTime}</div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-row">
                        <div class="layui-col-sm8">
                            <div class="layui-form-item">
                                <label class="layui-form-label">实体店地址:</label>
                                <div class="layui-input-block">
                                    <div class="layui-form-mid">$!{fullAddress}</div>
                                </div>
                            </div>
                        </div>
                        #if($longitude && $latitude)
                        <div class="layui-col-sm4">
                            <div class="layui-form-item">
                                <label class="layui-form-label">经纬度:</label>
                                <div class="layui-input-block">
                                    <div class="layui-form-mid">$!{longitude},$!{latitude}</div>
                                </div>
                            </div>
                        </div>
                        #end
                    </div>
                    <div class="layui-row">
                        <div class="layui-col-sm9">
                            <div class="layui-form-item">
                                <label class="layui-form-label">路线信息:</label>
                                <div class="layui-input-block">
                                    #if($routeInfo)
                                    <div class="layui-form-mid">$!{routeInfo}</div>
                                    #else
                                    <div class="layui-form-mid">---</div>
                                    #end
                                </div>
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <div class="layui-form-item">
                                <label class="layui-form-label">邮件地址:</label>
                                <div class="layui-input-block">
                                    #if($mailAddress)
                                    <div class="layui-form-mid">已设置</div>
                                    #else
                                    <div class="layui-form-mid">未设置</div>
                                    #end
                                </div>
                            </div>
                        </div>
                    </div>
                </div><!-- /.layui-col-sm9 -->
            </div>
        </div><!-- /.layui-form -->
    </div>
    <div class="layui-card layui-form">
        <div class="layui-card-body">
            <div class="layui-tab" lay-filter="tab-info">
                <ul class="layui-tab-title">
                    <li class="layui-this">设备配置</li>
                    <li>相关用户</li>
                </ul>
                <div class="layui-tab-content">
                    <div class="layui-tab-item layui-show">
                        <div class="layui-card">
                            <div class="layui-card-body">
                                <div style="padding-bottom: 10px;">
                                    <button class="layui-btn layui-btn-sm LAY-btn-fun" data-type="addBusinessConfig">新增</button>
                                </div>
                                <table id="LAY-table" lay-filter="LAY-table"></table>
                                <script type="text/html" id="LAY-table-toolbar">
                                    <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="costConfig">配置价格</a>
                                    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delBusinessConfig">删除</a>
                                </script>
                            </div>
                        </div>
                    </div>
                    <div class="layui-tab-item">
                        <div class="layui-card">
                            <div class="layui-card-body">
                                <div style="padding-bottom: 10px;">
                                    <button class="layui-btn layui-btn-sm LAY-btn-fun" data-type="addUser">新增用户</button>
                                </div>
                                <table id="LAY-table-user" lay-filter="LAY-table-user"></table>
                                <script type="text/html" id="LAY-table-user-toolbar">
                                    <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="updateUser">修改</a>
                                    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delUser">删除</a>
                                </script>
                            </div>
                        </div>
                    </div>
                </div><!-- /.layui-tab-content -->
            </div>
        </div>
    </div><!-- /.layui-card -->
</div>
#parse('/footFiles.html')
<script type="text/javascript">
    layui.config({
        base: '$!{webRoot}/layuiadmin/'
        ,webRoot:'$!{webRoot}'
    }).extend({
        index: 'lib/index'
        ,physical_store_info:'place/physical_store_info'
    }).use(['index','physical_store_info']);
</script>
</body>
</html>